package com.spc.car.data.mapper.project;

import com.spc.car.data.domain.project.vo.ProjectMemberVO;
import com.spc.car.data.domain.project.vo.UserForAssignVO;
import com.spc.car.data.entity.project.ProjectTeam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 项目团队 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-03-31
 */
public interface ProjectTeamMapper extends BaseMapper<ProjectTeam> {

    List<UserForAssignVO> listUserForAssign(@NotNull @Param("deptId") Integer deptId);

    List<ProjectMemberVO> listMember(@NotBlank @Param("projectCode") String projectCode);
}
